package com.example.blog.dao;

import com.example.blog.pojo.Type;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * name: 东北宋小宝
 * date: 2020/8/15
 */
@Mapper
public interface TypeMapper {
    List<Type> findAll(Map map);
    List<Type> findAll(Type type);
    Type findType(Type type);
    Type findType(Map map);
    void deleteType(Map map);
    void deleteType(Type type);
    void saveType(Type type);
    void updateType(Type type);
}
